package com.qf.test;

public class demo {
    public static void main(String[] args) {
        System.out.println("1111111");
        System.out.println("2222222");
        System.out.println("3333333");
        new Thread(() -> {
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("我是子线程");
        }).start();
        System.out.println("444444");
    }
}
